home *** CD-ROM | disk | FTP | other *** search
/ Pascal Super Library / Pascal Super Library (CW International)(1997).bin / LIBRARY / PTRP10 / TEST11.TRP < prev    next >
Text File  |  1994-05-16  |  225b  |  12 lines

  1. procedure main
  2. var
  3.         st  : string
  4.         i   : byte
  5. endvar
  6.         write("Enter String : ")
  7.         readln(st)
  8.         for i := 1 to length(st)
  9.                 writeln(copy(st, 1, i))
  10.         endfor
  11. endproc
  12.